export interface ChatGptRO {
    messages: MessageContentDto[];
    chatType: ChatType;
}

export enum ChatType {
    THREE_CHAT,
    FOUR_CHAT,
    FLY
}

export enum FreeType {
    WX,
    OTHER
}

export interface MessageContentDto {
    /*用户user gpt使用assistant*/
    role: string;
    content: string;
}

export interface GptSessionVO {
    sessionId: string;
    title: string;
    createTime: string;
}

export interface ChatConfig {
    baseUrl: string;
    key: string;
    proxyIp: string;
    port: number;
    proxyType: string;
}

export interface ProductVO {
    id: string;
    name: string;
    url: string;
    description: string;
}

export interface GetCodeRO {
    frequency?: number;
    freeType: FreeType;
}

export interface ParseCodeRO {
    code: string;
    type: string;
    userId?: string | null;
    openId?: string;
}
